package com.spj.service.impl;

import com.spj.entity.User;
import com.spj.dao.TestDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.spj.service.ServiceTest;

import java.util.List;

/**
 * @author :spj
 * @description:
 */

@Service
public class ServiceImpl implements ServiceTest {
    @Autowired
    private TestDao dao;
    @Override
    public List<User> getAll() {
        return dao.getAll();
    }
}
